package com.sl.au.entity;

import java.util.Date;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * 商户评价信息
 * 
 * @author 刘昆
 *
 */
@Entity
@Table(name = "sl_dcms_Evaluate")
public class Evaluate extends Root{
	@Column(nullable = true)
	private String evaluateContent;//评价内容
	
	@Column(nullable = true)
	private String evaluateMemo;//评价备注
	
	@Column(nullable = true)
	private double evaluateScale;//评价分数
	@ManyToOne 
	@JoinColumn(nullable = true)
	private Option evaluateLevel;//评价等级
	
	@ManyToOne 
	@JoinColumn(nullable = true)
	private User evaluatePerson;//评价人员
	
	@OneToOne 
	@JoinColumn(unique = true)
	private BusinesssellerBaseInfo businesssellerBaseInfo;//评价对应商户实体

	public String getEvaluateContent() {
		return evaluateContent;
	}

	public void setEvaluateContent(String evaluateContent) {
		this.evaluateContent = evaluateContent;
	}

	public String getEvaluateMemo() {
		return evaluateMemo;
	}

	public void setEvaluateMemo(String evaluateMemo) {
		this.evaluateMemo = evaluateMemo;
	}

	public double getEvaluateScale() {
		return evaluateScale;
	}

	public void setEvaluateScale(double evaluateScale) {
		this.evaluateScale = evaluateScale;
	}

	public Option getEvaluateLevel() {
		return evaluateLevel;
	}

	public void setEvaluateLevel(Option evaluateLevel) {
		this.evaluateLevel = evaluateLevel;
	}

	public User getEvaluatePerson() {
		return evaluatePerson;
	}

	public void setEvaluatePerson(User evaluatePerson) {
		this.evaluatePerson = evaluatePerson;
	}

	public BusinesssellerBaseInfo getBusinesssellerBaseInfo() {
		return businesssellerBaseInfo;
	}

	public void setBusinesssellerBaseInfo(BusinesssellerBaseInfo businesssellerBaseInfo) {
		this.businesssellerBaseInfo = businesssellerBaseInfo;
	}
	
	
}
